<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>一篇日记</title>
<style type="text/css">
<!--
body {
	background-image: url(./images/bgph.jpg);
}
li { margin-bottom:3px;}
-->
</style>
</head>


<body style="font-family:Arial, Helvetica, sans-serif; font-size:12px;color:#238E23;text-align:center; margin:0px;" bgcolor="#CCCCCC" alink="#007FFF" vlink="#007FFF" link="#007FFF">
<div id="body__ox" style="width:700px;  margin-left:auto; margin-right:auto; font-size:12px;">
<div id="" style="width:700px; height:16px; text-align:right; float:left;"><a href="./index.html">首页</a>&nbsp;&nbsp;|&nbsp;&nbsp;</div>
<div id="head__ox" style="width:700px; float:left;"><img src="./images/logox.gif" /></div>
<div id="zhengwen__ox" style="width:700px; float:left;">
	<div id="lanmu__ox" style="width:700px;float:left;text-align:left; border-bottom:#336699 1px solid;"><h3 style="margin-bottom:0px;">
		<h3><a href='./blogindex.php'>日记</a>&nbsp;<a href="./write.php">写日记</a></h3>
	</div>
	<div id="duzi__ox" style="float:left; width:700px;">
	<div id="left__ox" style="width:500px; float:left;border-right:1px #336699 solid; text-align:left;">
	<table>
		<tr>
			<td align="left"><h2 style="margin-bottom:3px;margin-bottom:5px;"><{$wantlog.article_title}></h2></td>
		</tr>
		<tr>
			<td align="left">发表于：<font color="#663366"><{$wantlog.article_mtime}></font></td>
		</tr>
		<tr>
			<td align="right">&nbsp;</td>
		</tr>
		<tr>
			<td align="left" style="font-size:14px;"><{$wantlog.article_content}></td>
		</tr>
		<tr>
			<td align="left">&nbsp;</td>
		</tr>
		<tr>
			<td align="left"><font size=+1><b>标签：</b></font><font color="#663366"><{$wantlog.article_tag}></font></td>
		</tr>
		<tr>
			<td align="right"><a href="./mod.php?id=<{$wantlog.article_id}>">修改</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="./del.php?id=<{$wantlog.article_id}>">删除</a></td>
		</tr>
		<tr><td align="center"><hr align="center"noshade size="1" color="#007FFF" width="96%"/></td></tr>
		<{foreach from=$comments item=arow}>
		
		<tr><td align="left"><font color='#666666'><{$arow.comment_uid|regex_replace:"/\..*\./":'.***.***.'}></font>于<{$arow.comment_mtime}>评论说：</td></tr>
		<tr><td><{$arow.comment_content}></td></tr>
		<tr><td align="center"><div style="height:2px;width:95%; border-bottom:2px #5F5F2F dotted;"></div></td></tr>
		<{/foreach}>
		<form action="./addcomment.php" method="post">
		<tr><td><textarea rows="4" cols="50" name="content" style="background-image:url(./images/inputback.gif);"></textarea></td></tr>
		<tr><td align="center"><input type="submit" value="提交评论"><input type="hidden" value="<{$wantlog.article_id}>" name="aid"></td></tr>
		</form>
		</table>
	</div>
	<div id="right__ox" style="width:199px; float:left;border-bottom:1px #336699 solid;text-align:left;">
	<table>
		<tr><td><b><font size="+1" color="#9966CC"><{$info.name}></font></b>&nbsp;&nbsp;你好</td></tr>
		<tr><td>年龄:<font color="#663366"><{$info.age}></font></td></tr>
		<tr><td>简介:<font color="#663366"><{$info.info}></font></td></tr>
	</table>
	<ul>
	<{foreach from=$otherlogs item=alog}>
		<li><a href="./alog.php?id=<{$alog.article_id}>" title="<{$alog.article_title}>"><{$alog.article_title|truncatex:10}></a></li>
	<{/foreach}>
	
	</ul>
	</div>
	</div>
</div>

</div>
</body>
</html>
